{% extends "main/index.html" %}

{% block title %}Latest news{% endblock %}
{% block scripts %}
<script type="text/javascript" src="{{ STATIC_URL }}js/additional_search_results.js"></script>
{% endblock %}
{% block query %}{{query_string}}{% endblock %}

{% block content %}
<h1 class="hidden">News</h1>
{% for col in web_results %}

<div class="col">
  {% for result in col %}
  {% if result.rss %}
    {% include 'main/block/rss.html' %}
  {% endif %}

  {% if not result.rss %}
    {% include 'main/block/news.html' %}
  {% endif %}
  {% endfor %}
</div>
{% endfor %}

{% endblock %}
